#include <QCoreApplication>
#include <iostream>
#include <functional>

# include "classes/Testfunction.h"

/**
     *
     * f(n) = 0               if (n == 0)
     *      = 1               if (n == 1)
     *      = f(n-1) + f(n-2) otherwise
     *
     * 0,1,1,2,3,5,8,13,21,...
     *
     */

int main(int argc, char *argv[])
{
    auto max = 8;
    for (auto n = 0; n<max;++n ){
        std::cout << fabonaccit(n) << std::endl;
    }

}
